package operation;

import book.Book;
import book.BookList;

public class ShowOperation implements IOperation{

    @Override
    public void work(BookList bookList) {
        Book[] book = bookList.getBooks();
        int bookSize = bookList.getBookSize();
        for (int i = 0; i < bookSize; i++) {
            System.out.println(book[i]);
        }
    }
}
